package com.eco.fanliapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;


/**
 * 订单数分佣方案（杀熟方案）
 */
@Getter
@Setter
@Data
@TableName("app_orderfeescheme")//@TableName中的值对应着表名
public class AppOrderFeeScheme implements Serializable {

    private static final long serialVersionUID = -7580441024076116466L;

    @TableId(type = IdType.AUTO)
    /**杀熟方案id */
    private Integer orderFeeSchemeId;

    /**杀熟方案名称 */
    private String schemeName;


    private Integer customerScale;//佣金分成

    /**1级杀熟范围 */
    private Integer  oneorder;
    /**1级订单分用 */
    private Integer oneorderScale;

    private Integer oneAgentScale; //1级推荐人

    /**2级杀熟范围 */
    private Integer twoorder;
    /**2级杀熟订单比例 */
    private Integer twoorderScale;

    private Integer twoAgentScale;//2级推荐人

    /**3级杀熟范围 */
    private Integer thirdorder;

    /**3级杀熟佣金比例 */
    private Integer thirdorderScale;


    private Integer thirdAgentScale; //3级推荐人




    /**杀熟方案创建时间 */
    private Long updateTime;

    /**杀熟方案更新时间 */
    private Long createTime;
    private Integer companyId;



    private String companyName;

}
